package cn.com.guage.dtm.metadata.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.com.guage.dtm.common.annotation.Excel;
import cn.com.guage.dtm.common.core.domain.BaseEntity;

/**
 * 索引MD定义对象 md_index
 * 
 * @author liujun
 * @date 2021-06-28
 */
public class MdIndex extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 索引信息Id */
    private Long indexId;

    /** 索引代码 */
    @Excel(name = "索引代码")
    private String indexCode;

    /** 索引说明 */
    @Excel(name = "索引说明")
    private String indexContent;

    /** 索引SQL */
    @Excel(name = "索引SQL")
    private String indexSql;

    /** 表id */
    @Excel(name = "表id")
    private Long tableId;

    /** 表代码 */
    @Excel(name = "表代码")
    private String tableCode;

    /** 表名称 */
    @Excel(name = "表名称")
    private String tableName;

    /** 功能模块id */
    @Excel(name = "功能模块id")
    private Long moduleId;

    /** 功能模块代码 */
    @Excel(name = "功能模块代码")
    private String moduleCode;

    /** 功能模块名称 */
    @Excel(name = "功能模块名称")
    private String moduleName;

    /** 系统id */
    @Excel(name = "系统id")
    private Long sysId;

    /** 系统代码 */
    @Excel(name = "系统代码")
    private String sysCode;

    /** 系统名称 */
    @Excel(name = "系统名称")
    private String sysName;

    public void setIndexId(Long indexId) 
    {
        this.indexId = indexId;
    }

    public Long getIndexId() 
    {
        return indexId;
    }
    public void setIndexCode(String indexCode) 
    {
        this.indexCode = indexCode;
    }

    public String getIndexCode() 
    {
        return indexCode;
    }
    public void setIndexContent(String indexContent) 
    {
        this.indexContent = indexContent;
    }

    public String getIndexContent() 
    {
        return indexContent;
    }
    public void setIndexSql(String indexSql) 
    {
        this.indexSql = indexSql;
    }

    public String getIndexSql() 
    {
        return indexSql;
    }
    public void setTableId(Long tableId) 
    {
        this.tableId = tableId;
    }

    public Long getTableId() 
    {
        return tableId;
    }
    public void setTableCode(String tableCode) 
    {
        this.tableCode = tableCode;
    }

    public String getTableCode() 
    {
        return tableCode;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setModuleId(Long moduleId) 
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId() 
    {
        return moduleId;
    }
    public void setModuleCode(String moduleCode) 
    {
        this.moduleCode = moduleCode;
    }

    public String getModuleCode() 
    {
        return moduleCode;
    }
    public void setModuleName(String moduleName) 
    {
        this.moduleName = moduleName;
    }

    public String getModuleName() 
    {
        return moduleName;
    }
    public void setSysId(Long sysId) 
    {
        this.sysId = sysId;
    }

    public Long getSysId() 
    {
        return sysId;
    }
    public void setSysCode(String sysCode) 
    {
        this.sysCode = sysCode;
    }

    public String getSysCode() 
    {
        return sysCode;
    }
    public void setSysName(String sysName) 
    {
        this.sysName = sysName;
    }

    public String getSysName() 
    {
        return sysName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("indexId", getIndexId())
            .append("indexCode", getIndexCode())
            .append("indexContent", getIndexContent())
            .append("indexSql", getIndexSql())
            .append("tableId", getTableId())
            .append("tableCode", getTableCode())
            .append("tableName", getTableName())
            .append("moduleId", getModuleId())
            .append("moduleCode", getModuleCode())
            .append("moduleName", getModuleName())
            .append("sysId", getSysId())
            .append("sysCode", getSysCode())
            .append("sysName", getSysName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
